<g:if test="${noteInstanceList}">

	<h1><g:message code="note.list" default="Note List" /></h1>
    <g:if test="${flash.message}">
	  	<div class="message"><g:message code="${flash.message}" args="${flash.args}" default="${flash.defaultMessage}" /></div>
    </g:if>
    <g:each in="${noteInstanceList}" status="i" var="noteInstance">
        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
            <td><g:link action="show" id="${noteInstance.id}">${fieldValue(bean: noteInstance, field: "id")}</g:link></td>
        </tr>	
	</g:each>
</g:if>
